package admin

import "github.com/gin-gonic/gin"

type IndexController struct{}

func (con IndexController) Index(c *gin.Context) {
	username, _ := c.Cookie("username")
	name := c.GetString("name")
	c.String(200, "后台首页"+name)
	c.String(200, "Cookie="+username)
}
